package com.sky.service;

import com.sky.vo.UserLoginVO;
import com.sky.vo.UserReportVO;

import java.time.LocalDate;

/**
 * @author liudo
 * @version 1.0
 * @project sky-take-out
 * @date 2024/2/22 10:25:50
 */
public interface UserService {
    /**
     * 登录
     *
     * @param code 密码
     * @return {@link UserLoginVO}
     */
    UserLoginVO login(String code);

    /**
     * 用户统计信息
     *
     * @param begin 开始
     * @param end   终止
     * @return {@link UserReportVO}
     */
    UserReportVO userStatistics(LocalDate begin, LocalDate end);
}
